import { BaseEntity } from '../../base/entity/base';
import { Column, Entity } from 'typeorm';

/**
 * 病历模板
 */
@Entity('medical_template')
export class MedicalTemplateEntity extends BaseEntity {
  @Column({ comment: '模板名称' })
  name: string;

  @Column({ comment: '适用科室', dict: ['骨科', '内科', '外科'] })
  department: number;

  @Column({ comment: '创建人' })
  creator: string;

  @Column({ comment: '备注', nullable: true })
  remark: string;
}
